#include "itemtablemodel.h"

ItemTableModel::ItemTableModel(QObject *parent) :
    ItemTreeModel(parent)
{
}

ItemTableModel::ItemTableModel(ModelItem *root, QObject *parent) :
    ItemTreeModel(root, parent)
{
}

ItemTableModel::~ItemTableModel()
{
}

int ItemTableModel::rowCount(const QModelIndex &parent) const
{
    if (parent.isValid())
    {
        return 0;
    }

    return ItemTreeModel::rowCount(parent);
}


